//
//  SiterOAuthNetManager.h
//  Pods
//
//  Created by Henry on 2023/1/10.
//

#ifndef SiterOAuthNetManager_h
#define SiterOAuthNetManager_h

#import "SiterBaseNetManager.h"

@interface SiterOAuthNetManager : SiterBaseNetManager


//注册获取验证码(邮箱)
+ (void) getVerifyCode:(NSString *)email handle:(void(^)(id,NSError *,NSError *)) handler;

//注册账号(邮箱)
+ (void)regist:(NSString *)email withPassword:(NSString *)pasword with:(NSString *)code handle:(void(^)(id,NSError *,NSError *)) handler;


//修改密码
+ (void)modify:(NSString *)pasword with:(NSString *)code withUsername:(NSString *)username handle:(void(^)(id,NSError *,NSError *)) handler;

//重置密码
+ (void)reset:(NSString *)pasword with:(NSString *)code withUsername:(NSString *)username handle:(void(^)(id,NSError *,NSError *)) handler;

//验证验证码
+ (void)validateVerifyCode:(NSString *)email with:(NSString *)code handle:(void(^)(id,NSError *,NSError *)) handler;

//完善账号
+ (void)appRegisterByVisitor:(NSString *)email withAuthCode:(NSString *)code withPassword:(NSString *)password handle:(void(^)(id,NSError *,NSError *)) handler;


//验证邮箱是否存在
+ (void)validateEmailIsExist:(NSString *)email handle:(void(^)(id,NSError *,NSError *)) handler;
@end

#endif /* SiterOAuthNetManager_h */
